package com.crm.common.agreement.entity.PO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bill_agreement_contract_params")
@ApiModel(value="BillAgreementContractParams对象", description="协议合同参数")
public class BillAgreementContractParams {

    @TableId(value = "params_id", type = IdType.AUTO)
    private Long paramsId;

    @ApiModelProperty(value = "字段key值")
    private String paramsKey;

    @ApiModelProperty(value = "字段内容")
    private String paramsValue;

    @ApiModelProperty(value = "字段类型 1单行文本 5日期 8多行文本")
    private Integer paramsType;

    @ApiModelProperty(value = "模板id")
    private Long templateId;

    @ApiModelProperty(value = "签署记录id")
    private Long agreementId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
